<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: ajinlong
  Date: 2021/6/17
  Time: 16:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>博文列表</title>
</head>
<body>

<div><a href="../post/publish">我要发布博文</a></div>

<c:forEach items="${posts}" var="post">
    <p>${post.content}</p>
    <p>发布于:${post.createTime}</p>
    <a href="../post/remove/${post.uuid}">删除</a>
    <hr>
</c:forEach>

</body>
</html>
